/*******************************************************************
 * 外语翻译平台(translate) 
 *
 * 成都一亿信息技术公司 版权所有
 * 
 * Copyright (C) 2010 Transer Information Technology Co., Ltd.
 *
 * @Version : 1.0  2010-12-29 下午09:40:07
 *
 * UserLogoutAction.java 
 *
 *******************************************************************/
package com.transer.web.action.passport;

import com.opensymphony.xwork2.ActionContext;
import com.transer.web.action.TranserActionSupport;
import com.transer.web.exception.NotLoginException;

/**
 * class defination are there
 * 
 * @author Mark
 * 
 * @version 1.0 ywengineer@gmail.com
 * 
 */
public class UserLogoutAction extends TranserActionSupport {

	private static final long serialVersionUID = 5885294350457349701L;

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.opensymphony.xwork2.ActionSupport#execute()
	 */
	@Override
	public String execute() throws Exception {
		// 清除SESSION
		ActionContext.getContext().getSession().clear();
		throw new NotLoginException();
	}
}
